<%@ page language="java" import="java.sql.*" %>
<%! public  Connection con=null;
    public ResultSet rst=null;
    public Statement stmt=null;
%>
<%            
            String driver = "org.gjt.mm.mysql.Driver";
            Class.forName(driver).newInstance();



            try{
                    String url="jdbc:mysql://localhost:3306/progin_171_13509008?user=root";
                    con=DriverManager.getConnection(url);
                    stmt=con.createStatement();
            }
            catch(Exception e){
                    System.out.println(e.getMessage());
            }
%>